#include "Queue.h"
#include<iostream>
using namespace std;

void main()
{
	Queue<double> queue;
	Queue<double> queue2;
	queue.push(4);
	queue.push(4.1);
	queue.push(4.2);
	queue.push(4.3);
	queue.push(1);
	queue.push(1.1);
	queue.push(1.2);

	queue2 = queue;
	queue2.push(1.3);
	queue2.push(5);
	double outValue;
	while (queue.pop(outValue))
	{
		cout<<outValue<<endl;
	}
	cout<<endl;
	while (queue2.pop(outValue))
	{
		cout<<outValue<<endl;
	}
}